﻿using System;

namespace _01School
{
    class Discipline
    {
        public string Name { get; set; }
        public int NumberOfLectures { get; set; }
        public int NumberOfExercises { get; set; }
        public string Comment { get; set; } 

        public Discipline(string name, int numberOfLectures, int numberOfExercises, string comment = "")
        {
            this.Name = name;
            this.NumberOfLectures = numberOfLectures;
            this.NumberOfExercises = numberOfExercises;
            this.Comment = comment;
        }

        public override string ToString()
        {
            return this.Name;
        }
    }
}
